package com.jiulong.dao;

import com.jiulong.model.TGift;
import com.jiulong.model.TGiftExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TGiftMapper {
    long countByExample(TGiftExample example);

    int deleteByExample(TGiftExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TGift record);

    int insertSelective(TGift record);

    List<TGift> selectByExample(TGiftExample example);

    TGift selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TGift record, @Param("example") TGiftExample example);

    int updateByExample(@Param("record") TGift record, @Param("example") TGiftExample example);

    int updateByPrimaryKeySelective(TGift record);

    int updateByPrimaryKey(TGift record);
}